package com.market.service.admin;

import com.market.bean.MarketAdmin;
import com.market.bean.bo.admin.AdminCreateBo;
import com.market.bean.bo.admin.AdminDeleteBo;
import com.market.bean.bo.admin.AdminUpdateBo;
import com.market.bean.common.BasePageInfo;
import com.market.bean.common.CommonData;
import com.market.bean.vo.admin.AdminCreateVo;
import com.market.bean.vo.admin.AdminListEntity;
import com.market.bean.vo.admin.AdminUpdateVo;

import java.util.List;

public interface AdminAdminService {
    CommonData<AdminListEntity> list(BasePageInfo basePageInfo, String username);

    AdminCreateVo create(AdminCreateBo adminCreateBo);

    AdminUpdateVo update(AdminUpdateBo adminUpdateBo);

    MarketAdmin delete(AdminDeleteBo adminDeleteBo);

    List<MarketAdmin> getAdmins();


    void password(MarketAdmin admin);
}
